package com.jerry.walking.module.activityPath.bean;

import java.util.List;

/**
 * Created by Yang on 2016/5/19.
 *
 *          界面中讨论区的json数据
 */
public class SpecialSecond2 {

    /**
     * posts : [{"id":8560,"created_by":{"id":61002,"nickname":"婺源长溪农家客栈","avatar":"http://tubu.ibuzhai.com//uploadfile/01f6a10a-7a24-4f82-85d3-a481ba78cdd8.png","gender":"m","birthday":"","location":"江西  上饶"},"created_date":"1461241139","last_modified_date":"1461241139","listorder":0,"order_date":"1461241139","title":"踏遍千山人未老，这边风景独好！","content":"婺源长溪村，独特的地理环境，纯天然的地质公园，夏季进入倍加涼爽！　户外旅行的好去处哦，想去的可以加我微信wyzxnjl","trail_id":72,"trail_title":"婺源","bbs":[{"bbs_catid":1,"title":"讨论区"}],"is_favorite":0,"fav_count":0,"comment_count":0,"pictures":[{"picture_id":"206268","picture":"http://img01.ibuzhai.com/14612411373482156.jpg","width":"600","height":"800"},{"picture_id":"206269","picture":"http://img01.ibuzhai.com/14612411378427167.jpg","width":"560","height":"355"},{"picture_id":"206270","picture":"http://img01.ibuzhai.com/14612411380546079.jpg","width":"554","height":"738"}],"comments":[]},{"id":7834,"created_by":{"id":57313,"nickname":"秋叶无情","avatar":"http://wx.qlogo.cn/mmopen/nwtasbvT4pE76xo9uJ8JG4BFC3dxNtTsUKmXHevLUyeerebKJlu3FsnFzoBpbxIXpx7aRE9xwE5fWnNjnjHwf1VgoxSLY9fR/0","gender":"m","birthday":"","location":"江西  上饶"},"created_date":"1450780807","last_modified_date":"1450780807","listorder":0,"order_date":"1458976891","title":"徒步旅行","content":"喜欢来婺源徒步旅行的朋友可联系我！无论四季如何变化／·我们的服务不变！我公司将陆续推出徒步十旅行的精品路线！","trail_id":72,"trail_title":"婺源","bbs":[{"bbs_catid":1,"title":"讨论区"}],"is_favorite":0,"fav_count":0,"comment_count":3,"pictures":[{"picture_id":"188848","picture":"http://img01.ibuzhai.com/14507808171379769.jpg","width":"948","height":"1280"},{"picture_id":"188849","picture":"http://img01.ibuzhai.com/14507808175931056.jpg","width":"1280","height":"948"},{"picture_id":"188850","picture":"http://img01.ibuzhai.com/14507808179768323.jpg","width":"1280","height":"948"}],"comments":[{"id":8505,"created_by":{"id":58457,"nickname":"暴枫","avatar":"http://wx.qlogo.cn/mmopen/nwtasbvT4pGT3uiatRvibaPDMvjfAlJvH0ZqD5iaMhGNAHUwZAB3PuwdZ1Fdu89J1drNEJVxUqL3bSSK9d7onL2QUkhiavz6cqWl/0","gender":"f","birthday":"","location":"江苏  苏州"},"created_date":"1458976891","content":"你好'加微信13319820815我这两天准备去","parent_id":0},{"id":8426,"created_by":{"id":41754,"nickname":"望天无忧","avatar":"http://q.qlogo.cn/qqapp/100570830/8AD9498A22F75D6901EC8F4AC58310A6/100","gender":"m","birthday":"","location":"浙江  台州"},"created_date":"1457269718","content":"那些路线","parent_id":0},{"id":8391,"created_by":{"id":59497,"nickname":"，","avatar":"http://q.qlogo.cn/qqapp/100570830/C5C74A2E2CF80B4708106E268D00E905/100","gender":"f","birthday":"","location":""},"created_date":"1456895382","content":"有哪些路线？最近打算去","parent_id":0}]}]
     * total : 27
     * cur_page : 1
     * total_pages : 14
     */

    private int total;
    private int cur_page;
    private int total_pages;
    /**
     * id : 8560
     * created_by : {"id":61002,"nickname":"婺源长溪农家客栈","avatar":"http://tubu.ibuzhai.com//uploadfile/01f6a10a-7a24-4f82-85d3-a481ba78cdd8.png","gender":"m","birthday":"","location":"江西  上饶"}
     * created_date : 1461241139
     * last_modified_date : 1461241139
     * listorder : 0
     * order_date : 1461241139
     * title : 踏遍千山人未老，这边风景独好！
     * content : 婺源长溪村，独特的地理环境，纯天然的地质公园，夏季进入倍加涼爽！　户外旅行的好去处哦，想去的可以加我微信wyzxnjl
     * trail_id : 72
     * trail_title : 婺源
     * bbs : [{"bbs_catid":1,"title":"讨论区"}]
     * is_favorite : 0
     * fav_count : 0
     * comment_count : 0
     * pictures : [{"picture_id":"206268","picture":"http://img01.ibuzhai.com/14612411373482156.jpg","width":"600","height":"800"},{"picture_id":"206269","picture":"http://img01.ibuzhai.com/14612411378427167.jpg","width":"560","height":"355"},{"picture_id":"206270","picture":"http://img01.ibuzhai.com/14612411380546079.jpg","width":"554","height":"738"}]
     * comments : []
     */

    private List<PostsBean> posts;

    public int getTotal() {
        return total;
    }

    public void setTotal(int total) {
        this.total = total;
    }

    public int getCur_page() {
        return cur_page;
    }

    public void setCur_page(int cur_page) {
        this.cur_page = cur_page;
    }

    public int getTotal_pages() {
        return total_pages;
    }

    public void setTotal_pages(int total_pages) {
        this.total_pages = total_pages;
    }

    public List<PostsBean> getPosts() {
        return posts;
    }

    public void setPosts(List<PostsBean> posts) {
        this.posts = posts;
    }

    public static class PostsBean {
        private int id;
        /**
         * id : 61002
         * nickname : 婺源长溪农家客栈
         * avatar : http://tubu.ibuzhai.com//uploadfile/01f6a10a-7a24-4f82-85d3-a481ba78cdd8.png
         * gender : m
         * birthday :
         * location : 江西  上饶
         */

        private CreatedByBean created_by;
        private String created_date;
        private String last_modified_date;
        private int listorder;
        private String order_date;
        private String title;
        private String content;
        private int trail_id;
        private String trail_title;
        private int is_favorite;
        private int fav_count;
        private int comment_count;
        /**
         * bbs_catid : 1
         * title : 讨论区
         */

        private List<BbsBean> bbs;
        /**
         * picture_id : 206268
         * picture : http://img01.ibuzhai.com/14612411373482156.jpg
         * width : 600
         * height : 800
         */

        private List<PicturesBean> pictures;
        private List<?> comments;

        public int getId() {
            return id;
        }

        public void setId(int id) {
            this.id = id;
        }

        public CreatedByBean getCreated_by() {
            return created_by;
        }

        public void setCreated_by(CreatedByBean created_by) {
            this.created_by = created_by;
        }

        public String getCreated_date() {
            return created_date;
        }

        public void setCreated_date(String created_date) {
            this.created_date = created_date;
        }

        public String getLast_modified_date() {
            return last_modified_date;
        }

        public void setLast_modified_date(String last_modified_date) {
            this.last_modified_date = last_modified_date;
        }

        public int getListorder() {
            return listorder;
        }

        public void setListorder(int listorder) {
            this.listorder = listorder;
        }

        public String getOrder_date() {
            return order_date;
        }

        public void setOrder_date(String order_date) {
            this.order_date = order_date;
        }

        public String getTitle() {
            return title;
        }

        public void setTitle(String title) {
            this.title = title;
        }

        public String getContent() {
            return content;
        }

        public void setContent(String content) {
            this.content = content;
        }

        public int getTrail_id() {
            return trail_id;
        }

        public void setTrail_id(int trail_id) {
            this.trail_id = trail_id;
        }

        public String getTrail_title() {
            return trail_title;
        }

        public void setTrail_title(String trail_title) {
            this.trail_title = trail_title;
        }

        public int getIs_favorite() {
            return is_favorite;
        }

        public void setIs_favorite(int is_favorite) {
            this.is_favorite = is_favorite;
        }

        public int getFav_count() {
            return fav_count;
        }

        public void setFav_count(int fav_count) {
            this.fav_count = fav_count;
        }

        public int getComment_count() {
            return comment_count;
        }

        public void setComment_count(int comment_count) {
            this.comment_count = comment_count;
        }

        public List<BbsBean> getBbs() {
            return bbs;
        }

        public void setBbs(List<BbsBean> bbs) {
            this.bbs = bbs;
        }

        public List<PicturesBean> getPictures() {
            return pictures;
        }

        public void setPictures(List<PicturesBean> pictures) {
            this.pictures = pictures;
        }

        public List<?> getComments() {
            return comments;
        }

        public void setComments(List<?> comments) {
            this.comments = comments;
        }

        public static class CreatedByBean {
            private int id;
            private String nickname;
            private String avatar;
            private String gender;
            private String birthday;
            private String location;

            public int getId() {
                return id;
            }

            public void setId(int id) {
                this.id = id;
            }

            public String getNickname() {
                return nickname;
            }

            public void setNickname(String nickname) {
                this.nickname = nickname;
            }

            public String getAvatar() {
                return avatar;
            }

            public void setAvatar(String avatar) {
                this.avatar = avatar;
            }

            public String getGender() {
                return gender;
            }

            public void setGender(String gender) {
                this.gender = gender;
            }

            public String getBirthday() {
                return birthday;
            }

            public void setBirthday(String birthday) {
                this.birthday = birthday;
            }

            public String getLocation() {
                return location;
            }

            public void setLocation(String location) {
                this.location = location;
            }
        }

        public static class BbsBean {
            private int bbs_catid;
            private String title;

            public int getBbs_catid() {
                return bbs_catid;
            }

            public void setBbs_catid(int bbs_catid) {
                this.bbs_catid = bbs_catid;
            }

            public String getTitle() {
                return title;
            }

            public void setTitle(String title) {
                this.title = title;
            }
        }

        public static class PicturesBean {
            private String picture_id;
            private String picture;
            private String width;
            private String height;

            public String getPicture_id() {
                return picture_id;
            }

            public void setPicture_id(String picture_id) {
                this.picture_id = picture_id;
            }

            public String getPicture() {
                return picture;
            }

            public void setPicture(String picture) {
                this.picture = picture;
            }

            public String getWidth() {
                return width;
            }

            public void setWidth(String width) {
                this.width = width;
            }

            public String getHeight() {
                return height;
            }

            public void setHeight(String height) {
                this.height = height;
            }
        }
    }
}
